<template>
  <DemoSuspense datasource="/demo/CoffeeMaker/data" :control-creator="createDemeoCoffeeMakerControl">
    <template #default="{ control }">
      <CoffeeMakerView :control="(control as CoffeeMakerController.Control)" />
    </template>
  </DemoSuspense>
</template>

<script setup lang="ts">
import DemoSuspense from '../DemoSuspense.vue'
import CoffeeMakerView from '../../CoffeeMaker/CoffeeMakerView.vue'
import { createDemeoCoffeeMakerControl } from '@/controller/demo/CoffeeMaker'
import type { CoffeeMakerController } from '@/controller/CoffeeMaker/definition'
</script>
